//
//  RMMOrderTuiKuanFooterView.m
//  Romomo
//
//  Created by puman on 2016/10/24.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMOrderTuiKuanFooterView.h"

@implementation RMMOrderTuiKuanFooterView
- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = kCColor;
        CGFloat width = (kScreenWideth - 110) / 2;
        for (int i = 0; i < 2; i++) {
            UIView *view = [[UIView alloc] initWithFrame:CGRectMake(15 + (width + 80) * i, kMaric, width, 0.5)];
            view.backgroundColor = COLORFROMCODE(0xB5B5B5, 1);
            [self addSubview:view];
            if (i == 0) {
                UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(view.right, kRow, 80, kMaric)];
                label.font = kFont(12);
                label.textAlignment = NSTextAlignmentCenter;
                label.textColor = COLORFROMCODE(0xB5B5B5, 1);
                label.text = @"用户须知";
                [self addSubview:label];
            }
        }
        
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(15, 40, self.width - 30, 60)];
        label.numberOfLines = 0;
        label.font = kFont(12);
        label.textColor = COLORFROMCODE(0xB5B5B5, 1);
        label.text = @"1、买了我的东西就不能退,要么不要命要么退,二选一个哈哈哈买了我的东西就不能退,要么不要命要么退,二选一个哈哈哈。\n2、买了我的东西就不能退,要么不要命要么退,二选一个哈哈哈买了我的东西就不能退,要么不要命要么退,二选一个哈哈哈。";
        [self addSubview:label];
        
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
